<!doctype html>
<title>Returning values</title>

<script>

var total = add(4, 4);
	
console.log(total);
	
function add(firstNumber, secondNumber)
{
  var sum = firstNumber + secondNumber;
  return sum;
}

</script>